cd $tmpdir

git clone $saircdmirror

cd saircd

# Compile
make

mkdir -p $freondir/sbin
mkdir -p $freondir/etc/init.d

cp saircd $freondir/sbin
cp extra/default-saircd.conf $freondir/etc/saircd.conf
cp extra/rc.saircd $freondir/etc/init.d/saircd

chmod +x $freondir/etc/init.d/saircd

cd $tmpdir
